package com.zhentao.model.common.manger.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import org.springframework.util.DigestUtils;

/**
 * 
 * @TableName manger_user
 */
@TableName(value ="manger_user")
@Data
public class MangerUser implements Serializable {
    /**
     * 之间自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 用户名字
     */
    @TableField(value = "name")
    private String name;

    /**
     * 盐
     */
    @TableField(value = "salt")
    private String salt;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;
    /**
     * 头像
     */
    @TableField(value = "avatar")
    private String avatar;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}